Skip to content

Conversation

@dh2906
Copy link
Contributor

@dh2906 dh2906 commented Jan 28, 2026

🔍 개요


🚀 주요 변경 내용

  • POST /clubs/{clubId}/recruitments 엔드포인트를 제거했습니다.

  • PUT /clubs/{clubId}/recruitments 엔드포인트에 생성 기능도 추가했습니다.

  • 동아리 관리 권한은 임원진 급 이상이면 모두 가능하도록 해야하므로, 추후에 작업할 예정입니다.


💬 참고 사항


✅ Checklist (완료 조건)

  • 코드 스타일 가이드 준수
  • 테스트 코드 포함됨
  • Reviewers / Assignees / Labels 지정 완료
  • 보안 및 민감 정보 검증 (API 키, 환경 변수, 개인정보 등)

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

이 PR은 동아리 모집 공고 생성과 수정 기능을 하나의 PUT 엔드포인트로 통합합니다.

Changes:

  • POST /clubs/{clubId}/recruitments 엔드포인트를 제거하고 PUT /clubs/{clubId}/recruitments로 생성/수정 기능을 통합
  • ClubRecruitmentCreateRequestClubRecruitmentUpdateRequest DTO를 ClubRecruitmentUpsertRequest로 통합
  • 모집 공고 생성 권한을 회장 전용에서 회장+매니저로 확대 (수정 권한과 동일하게 변경)

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
ClubService.java createRecruitmentupdateRecruitment 메서드를 upsertRecruitment 메서드로 통합하여 생성/수정 로직을 하나로 처리
ClubRecruitmentUpsertRequest.java 기존 ClubRecruitmentCreateRequestClubRecruitmentUpsertRequest로 이름 변경
ClubRecruitmentUpdateRequest.java 중복된 DTO 파일 제거
ClubController.java createRecruitmentupdateRecruitment 메서드를 upsertRecruitment 메서드로 통합
ClubApi.java API 문서를 업데이트하여 upsert 기능을 정확하게 설명하고 관련 없는 에러 코드 제거

@dh2906 dh2906 merged commit c8b25ab into main Jan 29, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants